package com.abo.yaas.view.widgets.tables;

public class PagedTableChangeEvent {
    final IPagedComponent component;

    public PagedTableChangeEvent(IPagedComponent component) {
        this.component = component;
    }

    public int getCurrentPage() {
        return component.getCurrentPage();
    }

    public IPagedComponent getPagedComponent() {
        return component;
    }

    public int getTotalAmountOfPages() {
        return component.getPageAmount();
    }
}
